<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import = "org.ntu.csn.as.tool.WebTool" %>
<%@ page import = "org.ntu.csn.as.model.Userinfo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/stylesheet.css"></link>
<link rel="stylesheet" type="text/css" href="css/datatable_table.css"></link>    
    <link rel="stylesheet" type="text/css" href="css/TableTools.css">  </link>
         <script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>   
         <script type="text/javascript" src="js/jquery.tools.min.js"></script>   
        <script type="text/javascript" src="js/jquery.dataTables.js"></script> 
        <script type="text/javascript" src="js/TT/media/js/ZeroClipboard.js"></script> 
        <script type="text/javascript" src="js/TT/media/js/TableTools.js"></script> 
<title>Header</title>
</head>
<%
WebTool.checkUserLogin(request, response);

Userinfo userinfo = (Userinfo)session.getAttribute("userinfo");
%>
<body style="background-image:url(imgs/termsBackgroundTop.png);
	background-size: 100% 100%; 
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: absolute;">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td ><a href="index.jsp"><img src="imgs/ntu-logo.png" name="Logo" width="229" height="91" border="0"  /></a></td>
   
    <td align="right">
    <%if(userinfo!=null) {%>
       <font><b> Hello,<%=userinfo.getName() %></b></font>&nbsp;&nbsp;
          <a href="LogoutController">Log Out</a> &#149;  
       <%} %>     
        <a href="index.jsp">HOME</a> &#149;       
        <a href="ReviewQuestionAndSolution.jsp?doPra=1">Review Questions</a>&nbsp;&#149; 
        <a href="QuestionMan.jsp">Manage Question</a>&nbsp;
    
  </tr>
</table>
</body>
 <center><h1><img src="imgs/AuthoringSystem_Title.png" width="1000x" height="100px"></h1></center>

</html>
